﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Minus : Calculate
    {

        public override void DisplayResult()
         {
             //base.calc(num1, oper, num2);
             int res = Num1 - Num2;
             Console.WriteLine("计算结果为："+res);
         }
        public Minus(int num1, int num2) : base(num1, num2)
        {
        }
    }
}
